package com.key.modules.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.key.modules.cache.MybatisCache;
import com.key.modules.vo.CarrierPayVO;
import org.apache.ibatis.annotations.CacheNamespace;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
@CacheNamespace(implementation = MybatisCache.class,eviction=MybatisCache.class)
public interface CarrierPayMapper extends BaseMapper<CarrierPayVO>{
    Page<CarrierPayVO> selectCarrierPay(@Param("page") Page page, @Param("cName") String cName,@Param("date") String date,@Param("orderNo") String orderNo);
    int insertCarrierSt(
            @Param("statementNumber") String statementNumber, @Param("paymentObject") String paymentObject,  @Param("billingTime")String billingTime,
            @Param("billingStatus") Integer billingStatus, @Param("invoiceStatus") Integer invoiceStatus, @Param("teaMoney") String teaMoney,
            @Param("abnormalState") Integer abnormalState, @Param("creationTime") String creationTime,  @Param("creator")String creator);
}
